package com.fwyx.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 * </p>
 *
 * @author zhuolin
 * @since 2020/3/26
 */
@FeignClient(value = "PRODUCER-4",fallback = ProducerHystrix.class)
public interface ProducerClient {

    @GetMapping( value = "/api/sayHello")
    public String sayHello(@RequestParam(value = "name") String name);

}
